import axios from '@iframe/tools/axios/axios'

export function query(params) {
    return axios.request({
        url: `/${import.meta.env.IFRAME_CONTEXT_PATH}/sys/log`,
        method: 'get',
        params
    })
}

export function deleteById(id) {
    return axios.request({
        url: `/${import.meta.env.IFRAME_CONTEXT_PATH}/sys/log/${id}`,
        method: 'delete'
    })
}
